package com.tupu.entity.ocs;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import java.io.Serializable;

/**
 * 故障索引表
 */
@Data
@TableName(value = "DBU.T0121_IALM_FINDEX")
//@TableName(value = "t0121_ialm_findex")
public class T0121IalmFindex implements Serializable {

    private static final long serialVersionUID = 1L;

    //故障事件表主键id
    @TableId(value = "C0121_FCODE")
    private String C0121FCode;

    //时间
    @TableField("C0121_YMD")
    private Integer C0121YMD;

    @TableField("C0121_HMSMS")
    private Integer C0121HMSMS;

    //厂站的NAME。若只有一个故障厂站，存放至此
    @TableField("C0121_SUBSTATION")
    private String C0121Substation;

    //厂站的NAME。若有两个故障厂站，第二个厂站存放至此
    @TableField("C0121_SUBSTATION2")
    private String C0121Substation2;

    //电压等级
    @TableField("C0121_VoltageLevel")
    private String C0121VoltageLevel;

    //故障设备所属间隔ID
    @TableField("C0121_BAYID")
    private Integer C0121BayId;

    //故障类型，请参考“设备类型字典
    @TableField("C0121_FAULTTYPE")
    private Integer C0121FaultType;

    //主跳闸开关的设备ID
    @TableField("C0121_BREAKERID")
    private Integer C0121BreakerId;

    //故障设备ID
    @TableField("C0121_FAULTDEVID")
    private Integer C0121FaultDevId;

    //故障设备类型，请参考“附录1 设备类型字典
    @TableField("C0121_FAULTDEVTYPE")
    private Integer C0121FaultDevType;

    //重合闸标志。0-未动作，1-重合闸成功，2-重合闸失败。
    @TableField("C0121_RECLOSE")
    private Integer C0121Reclose;

    //故障描述
    @TableField("C0121_FAULTDESC")
    private String C0121FaultDesc;

    //开关功率，即开关跳闸损失的负荷
    @TableField("C0121_BREAKERP")
    private Integer C0121BreakerP;

    //推理规则匹配的规则编号
    @TableField("C0121_RCODE")
    private String C0121RCode;

}
